import { network } from '@/utils';
import { TableListParams } from './data';

import { charges } from '../../../../../config/Apis';

export async function queryDetailInfo(params: TableListParams) {
  return network.get(charges.posthouseTariff, { params });
}

export async function saveVipUser(params: TableListParams | any) {
  return network.post(charges.posthouseTariff, { data: params });
}

export async function updateVipUser(params: TableListParams | any) {
  return network.put(charges.posthouseTariff, { data: params });
}
